export type Item = {
  citycode: string | any[]
  adcode: string
  name: string
  /** 直辖市区域特殊adcode */
  special_adcode?: string
  /** 直辖市区域特殊名称 */
  special_name?: string
  center: string
  level: string
  children?: Item[]
}

/** 高德地图api返回geo数据类型 */
export interface GeoData {
  features: Array<GeoItem>
}

/** 高德地图区划类型 */
export interface GeoItem {
  type: string
  properties: {
    adcode: number
    name: string
    center: number[]
    centroid: number[]
    childrenNum: number
    level: string
    subFeatureIndex: number
    acroutes: number[]
  }
  geometry: {
    type: string
    coordinates: number[][][][]
  }
}
